package p270jp;

import android.content.Context;
import android.content.Intent;
import com.google.android.gms.common.util.PlatformVersion;
import com.google.android.gms.tasks.Continuation;
import com.google.android.gms.tasks.Task;
import p061c3.Utf8Safe;
import p230ib.C3735i;
import p230ib.ExecutorC3732h;

/* renamed from: jp.d */
/* loaded from: classes2.dex */
public final class Result implements Continuation {

    /* renamed from: a */
    public Object f18273a;

    /* renamed from: b */
    public Object f18274b;

    public /* synthetic */ Result(Object obj, Object obj2) {
        this.f18273a = obj;
        this.f18274b = obj2;
    }

    @Override // com.google.android.gms.tasks.Continuation
    public Object then(Task task) {
        Context context = (Context) this.f18273a;
        Intent intent = (Intent) this.f18274b;
        Object obj = C3735i.f17141b;
        return (!PlatformVersion.isAtLeastO() || ((Integer) task.getResult()).intValue() != 402) ? task : C3735i.m5219a(context, intent).continueWith(ExecutorC3732h.f17138a, Utf8Safe.f5318b);
    }
}
